package be.telio.freeagent.model;

import javax.xml.bind.annotation.*;
import java.util.ArrayList;
import java.util.List;

@XmlRootElement(name = "invoices")
@XmlAccessorType(XmlAccessType.FIELD)
public class FAInvoices implements FAEntityList
{
    @XmlElement(name = "invoice")
    private List<FAInvoice> invoices = new ArrayList<FAInvoice>();

    public List<FAInvoice> getInvoices()
    {
        return invoices;
    }

    public void setInvoices(List<FAInvoice> invoices)
    {
        this.invoices = invoices;
    }

    public String getEntityListName()
    {
        return "invoices";
    }
}
